-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.9.4 (latest)
-
Code
-
Classes
- PostModel
| Total Complexity |
60 |
| Dependencies |
13 |
| Dependents |
3 |
| Total lines |
510 |
| Lines of code |
223 |
| Logical lines of code |
142 |
| Comment lines |
213 |
| Methods |
22 |
| Properties |
14 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_image_url() |
A |
44 |
9 |
43 |
| save() |
A |
48 |
8 |
33 |
| get_item_model_from_db() |
S |
56 |
4 |
18 |
| get_all_metadata() |
S |
56 |
4 |
18 |
| get_meta_value_by_key() |
S |
62 |
4 |
11 |
| check_capabilities_create_item_course() |
S |
61 |
3 |
11 |
| check_capabilities_update_item_course() |
S |
61 |
3 |
11 |
| __construct() |
S |
68 |
3 |
8 |
| map_to_object() |
S |
67 |
3 |
8 |
| get_categories() |
S |
66 |
3 |
8 |
| get_tags() |
S |
66 |
3 |
8 |
| get_author_model() |
S |
66 |
2 |
8 |
| get_permalink() |
S |
69 |
2 |
7 |
| check_capabilities_create() |
S |
82 |
1 |
3 |
| check_capabilities_update() |
S |
82 |
1 |
3 |
| clean_caches() |
S |
91 |
1 |
2 |
| get_id() |
S |
81 |
1 |
3 |
| save_meta_value_by_key() |
S |
75 |
1 |
4 |
| get_the_content() |
S |
69 |
1 |
6 |
| get_the_excerpt() |
S |
76 |
1 |
4 |
| get_the_title() |
S |
80 |
1 |
3 |
| get_edit_link() |
S |
79 |
1 |
3 |